<!doctype html>



  


<html class="theme-next pisces use-motion">
<head>
  <meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>



<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />












  
  
  <link href="/vendors/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />




  
  
  
  

  
    
    
  

  

  

  

  

  
    
    
    <link href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&subset=latin,latin-ext" rel="stylesheet" type="text/css">
  






<link href="/vendors/font-awesome/css/font-awesome.min.css?v=4.4.0" rel="stylesheet" type="text/css" />

<link href="/css/main.css?v=5.0.1" rel="stylesheet" type="text/css" />


  <meta name="keywords" content="nodejs," />








  <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico?v=5.0.1" />






<meta name="description" content="hexo是基于nodejs开发的一款静态博客的框架，搭建时比较麻烦，如果需要放到网上，则需要配合github一起使用。因此搭建博客环境，需要用到nodejs、hexo、git，同时博文是使用markdown语法来写的，所以需要对markdown语法有一定的了解。
安装git1、apt-get直接在线安装1$ sudo apt-get install git
   检查下是否安装成功：1git --">
<meta property="og:type" content="article">
<meta property="og:title" content="ubuntu下用hexo搭建静态博客">
<meta property="og:url" content="http://yoursite.com/2016/06/14/1/index.html">
<meta property="og:site_name" content="RoyceLee's blog">
<meta property="og:description" content="hexo是基于nodejs开发的一款静态博客的框架，搭建时比较麻烦，如果需要放到网上，则需要配合github一起使用。因此搭建博客环境，需要用到nodejs、hexo、git，同时博文是使用markdown语法来写的，所以需要对markdown语法有一定的了解。
安装git1、apt-get直接在线安装1$ sudo apt-get install git
   检查下是否安装成功：1git --">
<meta property="og:updated_time" content="2016-06-14T08:08:45.130Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="ubuntu下用hexo搭建静态博客">
<meta name="twitter:description" content="hexo是基于nodejs开发的一款静态博客的框架，搭建时比较麻烦，如果需要放到网上，则需要配合github一起使用。因此搭建博客环境，需要用到nodejs、hexo、git，同时博文是使用markdown语法来写的，所以需要对markdown语法有一定的了解。
安装git1、apt-get直接在线安装1$ sudo apt-get install git
   检查下是否安装成功：1git --">



<script type="text/javascript" id="hexo.configuration">
  var NexT = window.NexT || {};
  var CONFIG = {
    scheme: 'Pisces',
    sidebar: {"position":"left","display":"post"},
    fancybox: true,
    motion: true,
    duoshuo: {
      userId: 0,
      author: '博主'
    }
  };
</script>




  <link rel="canonical" href="http://yoursite.com/2016/06/14/1/"/>

  <title> ubuntu下用hexo搭建静态博客 | RoyceLee's blog </title>
</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">

  



  <script type="text/javascript">
    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = "//hm.baidu.com/hm.js?9cb484ffc488816025fcc8a2c26cfef1";
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
    })();
  </script>








  
  
    
  

  <div class="container one-collumn sidebar-position-left page-post-detail ">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-meta ">
  

  <div class="custom-logo-site-title">
    <a href="/"  class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <span class="site-title">RoyceLee's blog</span>
      <span class="logo-line-after"><i></i></span>
    </a>
  </div>
  <p class="site-subtitle">Rumours find no credence with a wise man</p>
</div>

<div class="site-nav-toggle">
  <button>
    <span class="btn-bar"></span>
    <span class="btn-bar"></span>
    <span class="btn-bar"></span>
  </button>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br />
            
            首页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/archives" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
            
            归档
          </a>
        </li>
      
        
        <li class="menu-item menu-item-tags">
          <a href="/tags" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-tags"></i> <br />
            
            标签
          </a>
        </li>
      

      
    </ul>
  

  
</nav>

 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  
  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
            
            
              
                ubuntu下用hexo搭建静态博客
              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">
            <span class="post-meta-item-icon">
              <i class="fa fa-calendar-o"></i>
            </span>
            <span class="post-meta-item-text">发表于</span>
            <time itemprop="dateCreated" datetime="2016-06-14T16:08:45+08:00" content="2016-06-14">
              2016-06-14
            </time>
          </span>

          

          
            
              <span class="post-comments-count">
                &nbsp; | &nbsp;
                <a href="/2016/06/14/1/#comments" itemprop="discussionUrl">
                  <span class="post-comments-count ds-thread-count" data-thread-key="2016/06/14/1/" itemprop="commentsCount"></span>
                </a>
              </span>
            
          

          

          
          

          
        </div>
      </header>
    


    <div class="post-body" itemprop="articleBody">

      
      

      
        <p>hexo是基于nodejs开发的一款静态博客的框架，搭建时比较麻烦，如果需要放到网上，则需要配合github一起使用。因此搭建博客环境，需要用到nodejs、hexo、git，同时博文是使用<br>markdown语法来写的，所以需要对markdown语法有一定的了解。</p>
<h2 id="安装git"><a href="#安装git" class="headerlink" title="安装git"></a>安装git</h2><p>1、apt-get直接在线安装<br><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ sudo apt-get install git</span><br></pre></td></tr></table></figure></p>
<p>   检查下是否安装成功：<br><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">git --version</span><br></pre></td></tr></table></figure></p>
<p>2、配置用户名及email，否则后面在部署到github上时会报错<br><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">git config --global user.name <span class="string">"XXXXX"</span></span><br><span class="line">git config --global user.email <span class="string">"XXXXX"</span></span><br></pre></td></tr></table></figure></p>
<h2 id="安装nodejs"><a href="#安装nodejs" class="headerlink" title="安装nodejs"></a>安装nodejs</h2><p>1、卸载ubuntu自带的nodejs和npm<br>   我的ubuntu版本是16.04LTS，本身自带的有nodejs和npm，自带的nodejs版本过低，且路径过于分散，不利用管理，所以我决定手动安装nodejs<br><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">sudo apt-get remove nodejs &amp;&amp; sudo apt-get remove npm</span><br></pre></td></tr></table></figure></p>
<p>   清理下依赖包<br><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">sudo apt-get autoremove</span><br></pre></td></tr></table></figure></p>
<p>2、官网下载nodejs<br><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">cd</span> /opt &amp;&amp; wget https://nodejs.org/dist/v4.4.5/node-v4.4.5-linux-x64.tar.xz</span><br><span class="line">xz <span class="_">-d</span> node-v4.4.5-linux-x64.tar.xz &amp;&amp; tar vxf node-v4.4.5-linux-x64.tar</span><br></pre></td></tr></table></figure></p>
<p>3、配置环境变量<br><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">sudo vi /etc/profile</span><br></pre></td></tr></table></figure></p>
<p>   文件最后加上<br>   export PATH=$PATH:/opt/node-v4.4.5-linux-x64/bin<br>   同步文件使环境变量生效<br><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">source</span> /etc/profile</span><br></pre></td></tr></table></figure></p>
<p>4、测试安装<br><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">node --version &amp;&amp; npm --version</span><br></pre></td></tr></table></figure></p>
<h2 id="安装hexo"><a href="#安装hexo" class="headerlink" title="安装hexo"></a>安装hexo</h2><p>1、在线安装cnpm<br>   由于npm使用国外站点下载hexo速度太慢，经常网络错误而使下载终断，所以我决定用cnpm在淘宝镜像上下载hexo<br><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">npm install -g cnpm --registry=https://registry.npm.taobao.org</span><br><span class="line">cnpm --version</span><br></pre></td></tr></table></figure></p>
<p>2、在线安装hexo-cli<br><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">cnpm install -g hexo-cli</span><br></pre></td></tr></table></figure></p>
<p>   经过一长串刷屏后就done了，检查是否安装成功<br><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">hexo --version</span><br></pre></td></tr></table></figure></p>
<h2 id="构建静态blog"><a href="#构建静态blog" class="headerlink" title="构建静态blog"></a>构建静态blog</h2><p>1、初始化blog本地路径<br><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">cd</span> /home/lc/workspace/blog &amp;&amp; hexo init</span><br></pre></td></tr></table></figure></p>
<p>2、生成node_modules<br><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">npm install</span><br></pre></td></tr></table></figure></p>
<p>3、生成本地博客并测试<br><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">hexo g</span><br><span class="line">hexo server</span><br></pre></td></tr></table></figure></p>
<p>   在浏览器输入<a href="http://localhost:4000，如果出现hexo标准页面，恭喜你，本地博客已经搭建完成" target="_blank" rel="external">http://localhost:4000，如果出现hexo标准页面，恭喜你，本地博客已经搭建完成</a></p>
<h2 id="部署到github"><a href="#部署到github" class="headerlink" title="部署到github"></a>部署到github</h2><p>1、申请github帐户，www.github.com，这里就不罗嗦了，不会英文可以百度翻译。</p>
<p>2、新建一个Repository，仓库名称为”your_github_username.github.io”，固定使用这个写法，不然会404</p>
<p>3、修改/home/lc/workspace/blog下的_config.yml文件，关联2中新建github仓库<br>   deploy:<br>     type: git<br>     repository: git@github.com:your_github_username/your_github_username.github.io.git<br>     branch: master<br>   其中repository有两种方式，一种是https的方式，一种是ssh的方式，由于我使用https方式时，使用用户名密码进行提交时鉴权各种通不过，所以我使用ssh方式提交代码。</p>
<p>4、生成ssh鉴权公私钥<br><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ ssh-keygen -t rsa -C <span class="string">"emailaddress@example.com"</span></span><br></pre></td></tr></table></figure></p>
<p>   一路回车后，会在用户目录下生成.ssh的目录，里面有两个文件id_rsa，这是私钥，保存好；别一个是id_rsa.pub，这是公钥，需要配置到github上<br>5、github配置公钥<br>   在githhub上setting&gt;SSH and GPG keys&gt;new SSH key，title随便写，能方便区别不同key就行，将id_rsa.pub文件中的内容复制到key中。<br>6、发布到github上<br><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">hexo g &amp;&amp; hexo d</span><br></pre></td></tr></table></figure></p>
<p>   在浏览器中输入地址“your_github_username.github.io”，熟悉的页面是不是出现了。</p>
<h2 id="绑定域名"><a href="#绑定域名" class="headerlink" title="绑定域名"></a>绑定域名</h2><p>1、购买域名并增加域名解析<br>   我是在阿里云上买的域名，买域名的时候需要注意买国际域名，否则需要审批备案。在阿里云中对该域名新增解析，地址指向your_github_username.github.io。</p>
<p>2、hexo绑定域名<br>   在/home/lc/workspace/blog/public下新建一个文件CNAME，将购买的域名写入该文件，注意格式xxxxx.com，不需要www。<br><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ <span class="built_in">cd</span> /home/lc/workspace/blog &amp;&amp; hexo g &amp;&amp; hexl d</span><br></pre></td></tr></table></figure></p>
<p>   将CNAME push到github上，这样就可以用自己的域名访问博客了。</p>
<h2 id="更换主题"><a href="#更换主题" class="headerlink" title="更换主题"></a>更换主题</h2><p>hexo有很多开源主题可以使用，其中比较流行的是hexo-next。<br>1、下载hexo-theme-next到本地博客路径<br><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ <span class="built_in">cd</span> /home/lc/workspace/blog &amp;&amp; git <span class="built_in">clone</span> https://github.com/iissnan/hexo-theme-next</span><br></pre></td></tr></table></figure></p>
<p>   下载完后在theme下就会看到多了一个next的目录。</p>
<p>2、配置主题<br>   在博客的配置文件_config.yml中，配置如下信息：<br>   theme: next<br><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ <span class="built_in">cd</span> /home/lc/workspace/blog &amp;&amp; hexo g &amp;&amp; hexl d</span><br></pre></td></tr></table></figure></p>
<h2 id="其它配置"><a href="#其它配置" class="headerlink" title="其它配置"></a>其它配置</h2><p>   博客配置文件_config.yml中的一些配置<br>1、页面中文<br>   language: zh-Hans<br>2、主页头<br>   title: RoyceLee’s blog<br>3、描述，这个可以方便搜索引擎找到你的页面<br>   description: ×××××××××××××××××</p>
<h2 id="发布新博客"><a href="#发布新博客" class="headerlink" title="发布新博客"></a>发布新博客</h2><p>1、写博文<br>   如果很熟悉md语法的话，那就直接vi或者geditd直接写，如果不熟悉并且博客内容有一些图片等富文本内容时，则推荐一个md在线编辑器<a href="https://www.zybuluo.com/mdeditor" target="_blank" rel="external">cmd markdown</a><br>   在/home/lc/workspace/blog/source/的_posts目录中，新建一个md文件，可以直接编辑这个文件用md语法写博客，也可以在cmd markdown中编辑好复制进去。</p>
<p>2、发布<br><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ <span class="built_in">cd</span> ../../ &amp;&amp; hexo g &amp;&amp; hexo d</span><br></pre></td></tr></table></figure></p>
<h2 id="标签页面"><a href="#标签页面" class="headerlink" title="标签页面"></a>标签页面</h2><p>1、新建一个页面<br><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo new page <span class="string">"tags"</span></span><br></pre></td></tr></table></figure></p>
<p>2、编辑页面<br>   在source/tags/下配置index.md文件如下：<br><figure class="highlight markdown"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">---</span><br><span class="line">title: tags</span><br><span class="line">date: 2016-06-14 10:28:42</span><br><span class="line"><span class="section">type: "tags"</span><br><span class="line">---</span></span><br></pre></td></tr></table></figure></p>
<p>3、修改主题配置文件<br>   在主题的_config.yml文件中如下配置：<br><figure class="highlight markdown"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><span class="line">menu:</span><br><span class="line">home: /</span><br><span class="line"><span class="section">#categories: /categories</span></span><br><span class="line"><span class="section">#about: /about</span></span><br><span class="line">archives: /archives</span><br><span class="line"><span class="section"># tags菜单指向新建的面页</span></span><br><span class="line">tags: /tags</span><br><span class="line"><span class="section">#commonweal: /404.html</span></span><br></pre></td></tr></table></figure></p>

      
    </div>

    <div>
      
        
      
    </div>

    <div>
      
        

      
    </div>

    <footer class="post-footer">
      
        <div class="post-tags">
          
            <a href="/tags/nodejs/" rel="tag">#nodejs</a>
          
        </div>
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/2016/06/14/ubuntu_hexo_blog/" rel="next" title="ubuntu下用hexo搭建静态博客">
                <i class="fa fa-chevron-left"></i> ubuntu下用hexo搭建静态博客
              </a>
            
          </div>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/2016/06/14/2/" rel="prev" title="ubuntu下用hexo搭建静态博客">
                ubuntu下用hexo搭建静态博客 <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </article>



    <div class="post-spread">
      
    </div>
  </div>


          </div>
          


          
  <div class="comments" id="comments">
    
      <div class="ds-thread" data-thread-key="2016/06/14/1/"
           data-title="ubuntu下用hexo搭建静态博客" data-url="http://yoursite.com/2016/06/14/1/">
      </div>
    
  </div>


        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap" >
            文章目录
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview">
            站点概览
          </li>
        </ul>
      

      <section class="site-overview sidebar-panel ">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
          <img class="site-author-image" itemprop="image"
               src="/images/avatar.jpg"
               alt="RoyceLee" />
          <p class="site-author-name" itemprop="name">RoyceLee</p>
          <p class="site-description motion-element" itemprop="description">Rumours find no credence with a wise man</p>
        </div>
        <nav class="site-state motion-element">
          <div class="site-state-item site-state-posts">
            <a href="/archives">
              <span class="site-state-item-count">9</span>
              <span class="site-state-item-name">日志</span>
            </a>
          </div>

          

          
            <div class="site-state-item site-state-tags">
              <a href="/tags">
                <span class="site-state-item-count">2</span>
                <span class="site-state-item-name">标签</span>
              </a>
            </div>
          

        </nav>

        

        <div class="links-of-author motion-element">
          
        </div>

        
        

        
        

      </section>

      
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">
            
              
            
            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-2"><a class="nav-link" href="#安装git"><span class="nav-number">1.</span> <span class="nav-text">安装git</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#安装nodejs"><span class="nav-number">2.</span> <span class="nav-text">安装nodejs</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#安装hexo"><span class="nav-number">3.</span> <span class="nav-text">安装hexo</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#构建静态blog"><span class="nav-number">4.</span> <span class="nav-text">构建静态blog</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#部署到github"><span class="nav-number">5.</span> <span class="nav-text">部署到github</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#绑定域名"><span class="nav-number">6.</span> <span class="nav-text">绑定域名</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#更换主题"><span class="nav-number">7.</span> <span class="nav-text">更换主题</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#其它配置"><span class="nav-number">8.</span> <span class="nav-text">其它配置</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#发布新博客"><span class="nav-number">9.</span> <span class="nav-text">发布新博客</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#标签页面"><span class="nav-number">10.</span> <span class="nav-text">标签页面</span></a></li></ol></div>
            
          </div>
        </section>
      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright" >
  
  &copy; 
  <span itemprop="copyrightYear">2016</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">RoyceLee</span>
</div>

<div class="powered-by">
  由 <a class="theme-link" href="http://hexo.io">Hexo</a> 强力驱动
</div>

<div class="theme-info">
  主题 -
  <a class="theme-link" href="https://github.com/iissnan/hexo-theme-next">
    NexT.Pisces
  </a>
</div>

        

        
      </div>
    </footer>

    <div class="back-to-top">
      <i class="fa fa-arrow-up"></i>
    </div>
  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  



  
  <script type="text/javascript" src="/vendors/jquery/index.js?v=2.1.3"></script>

  
  <script type="text/javascript" src="/vendors/fastclick/lib/fastclick.min.js?v=1.0.6"></script>

  
  <script type="text/javascript" src="/vendors/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>

  
  <script type="text/javascript" src="/vendors/velocity/velocity.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/vendors/velocity/velocity.ui.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/vendors/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>


  


  <script type="text/javascript" src="/js/src/utils.js?v=5.0.1"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=5.0.1"></script>



  
  


  <script type="text/javascript" src="/js/src/affix.js?v=5.0.1"></script>

  <script type="text/javascript" src="/js/src/schemes/pisces.js?v=5.0.1"></script>



  
  <script type="text/javascript" src="/js/src/scrollspy.js?v=5.0.1"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.0.1"></script>



  


  <script type="text/javascript" src="/js/src/bootstrap.js?v=5.0.1"></script>



  

  
    
  

  <script type="text/javascript">
    var duoshuoQuery = {short_name:"roycelee"};
    (function() {
      var ds = document.createElement('script');
      ds.type = 'text/javascript';ds.async = true;
      ds.id = 'duoshuo-script';
      ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
      ds.charset = 'UTF-8';
      (document.getElementsByTagName('head')[0]
      || document.getElementsByTagName('body')[0]).appendChild(ds);
    })();
  </script>

  
    
  






  
  
  

  

  

</body>
</html>
